import { Component } from "react";
import { Outlet,NavLink } from "react-router-dom";
export default class Cart extends Component{

    render(){
        return (
            <div>
                <h1>购物车</h1>
                <NavLink to='playing'>二级路由</NavLink>
                <Outlet/>
            </div>
        )
    }
}